<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head th:replace="dashboard/header :: header"></head>
<body>

<!--
@desc 权限配置 详情 
@author WeiXiaoJin
@since 2020-01-30 07:28:26
-->

	<div layout:fragment="content">
		<div class="container-fluid content-main">
			<div class="animated fadeIn">
				<div class="row">
					<div class="col-sm-12">
						<div class="card">
							<div class="card-body">

								<form class="form-horizontal" id="modifyForm">

									<input type="hidden" name="id" th:value="${bean.id}" />
									
<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">是否为调试表，只允许在开发环境使用，测试和线上环境禁用</label>
	<div class="col-md-9">
		<input class="form-control" id="debug" type="text" th:value="${ bean.debug}" name="debug" placeholder="是否为调试表，只允许在开发环境使用，测试和线上环境禁用" readonly="readonly" >
	</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">实际表名，例如 apijson_user</label>
	<div class="col-md-9">
		<input class="form-control" id="name" type="text" th:value="${ bean.name}" name="name" placeholder="实际表名，例如 apijson_user" readonly="readonly" >
	</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">外部调用的表别名，例如 User</label>
	<div class="col-md-9">
		<input class="form-control" id="alias" type="text" th:value="${ bean.alias}" name="alias" placeholder="外部调用的表别名，例如 User" readonly="readonly" >
	</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">允许 get 的角色列表，例如 ["LOGIN", "CONTACT", "CIRCLE", "OWNER"]
用 JSON 类型不能设置默认值，反正权限对应的需求是明确的，也不需要自动转 JSONArray。
TODO: 直接 LOGIN,CONTACT,CIRCLE,OWNER 更简单，反正是开发内部用，不需要复杂查询。</label>
	<div class="col-md-9">
		<input class="form-control" id="get" type="text" th:value="${ bean.get}" name="get" placeholder="允许 get 的角色列表，例如 ["LOGIN", "CONTACT", "CIRCLE", "OWNER"]
用 JSON 类型不能设置默认值，反正权限对应的需求是明确的，也不需要自动转 JSONArray。
TODO: 直接 LOGIN,CONTACT,CIRCLE,OWNER 更简单，反正是开发内部用，不需要复杂查询。" readonly="readonly" >
	</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">允许 head 的角色列表，例如 ["LOGIN", "CONTACT", "CIRCLE", "OWNER"]</label>
	<div class="col-md-9">
		<input class="form-control" id="head" type="text" th:value="${ bean.head}" name="head" placeholder="允许 head 的角色列表，例如 ["LOGIN", "CONTACT", "CIRCLE", "OWNER"]" readonly="readonly" >
	</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">允许 gets 的角色列表，例如 ["LOGIN", "CONTACT", "CIRCLE", "OWNER"]</label>
	<div class="col-md-9">
		<input class="form-control" id="gets" type="text" th:value="${ bean.gets}" name="gets" placeholder="允许 gets 的角色列表，例如 ["LOGIN", "CONTACT", "CIRCLE", "OWNER"]" readonly="readonly" >
	</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">允许 heads 的角色列表，例如 ["LOGIN", "CONTACT", "CIRCLE", "OWNER"]</label>
	<div class="col-md-9">
		<input class="form-control" id="heads" type="text" th:value="${ bean.heads}" name="heads" placeholder="允许 heads 的角色列表，例如 ["LOGIN", "CONTACT", "CIRCLE", "OWNER"]" readonly="readonly" >
	</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">允许 post 的角色列表，例如 ["LOGIN", "CONTACT", "CIRCLE", "OWNER"]</label>
	<div class="col-md-9">
		<input class="form-control" id="post" type="text" th:value="${ bean.post}" name="post" placeholder="允许 post 的角色列表，例如 ["LOGIN", "CONTACT", "CIRCLE", "OWNER"]" readonly="readonly" >
	</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">允许 put 的角色列表，例如 ["LOGIN", "CONTACT", "CIRCLE", "OWNER"]</label>
	<div class="col-md-9">
		<input class="form-control" id="put" type="text" th:value="${ bean.put}" name="put" placeholder="允许 put 的角色列表，例如 ["LOGIN", "CONTACT", "CIRCLE", "OWNER"]" readonly="readonly" >
	</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">允许 delete 的角色列表，例如 ["LOGIN", "CONTACT", "CIRCLE", "OWNER"]</label>
	<div class="col-md-9">
		<input class="form-control" id="delete" type="text" th:value="${ bean.delete}" name="delete" placeholder="允许 delete 的角色列表，例如 ["LOGIN", "CONTACT", "CIRCLE", "OWNER"]" readonly="readonly" >
	</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">创建时间</label>
	<div class="col-md-9">
		<input class="form-control" id="date" type="text" th:value="${ bean.date}" name="date" placeholder="创建时间" readonly="readonly" >
	</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">httpDelete</label>
	<div class="col-md-9">
		<input class="form-control" id="httpDelete" type="text" th:value="${ bean.httpDelete}" name="httpDelete" placeholder="" readonly="readonly" >
	</div>
</div>
																		<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">httpPost</label>
	<div class="col-md-9">
		<input class="form-control" id="httpPost" type="text" th:value="${ bean.httpPost}" name="httpPost" placeholder="" readonly="readonly" >
	</div>
</div>
																		<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">httpPut</label>
	<div class="col-md-9">
		<input class="form-control" id="httpPut" type="text" th:value="${ bean.httpPut}" name="httpPut" placeholder="" readonly="readonly" >
	</div>
</div>
																										</form>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>

	<footer th:replace="dashboard/footer :: footer"></footer>

</body>
</html>
